<?php

namespace app\api\controller;

use think\Request;

class Wallet extends Base
{
    //创建一个钱包
    public function createWallet()
    {
        $user = $this->user();

        $wallet = Wallet::where('user_id', $user->id)->find();

        return $this->renderJson($wallet);
    }


    //


}
